﻿using QMERP.Domain.Dtos;

namespace QMERP.Application.Services
{
    public interface IAttachmentService
    {
        /// <summary>
        /// 上传图片
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<AttachmentResponse> UploadImage(AttachmentUploadRequest request);
        /// <summary>
        /// 对应附件保存
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task Save(AttachmentSaveRequest request);
    }
}
